package com.example.demo2.exception;

import lombok.Data;

@Data
public class ServiceException extends RuntimeException{
    private String code;
    private String msg;
    public ServiceException(String code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
